package com.lucas.lai.state.machine.squirrel.sample.one.model;

import com.lucas.lai.state.machine.squirrel.sample.one.status.OrderState;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author lucas.lai
 * @date 2023/11/9
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDTO {

    private Integer id;

    private OrderState state;

    private Date createTime;

    private Date updateTime;

    public OrderDTO(OrderState init) {
        this.state = init;
    }
}
